package com.dify.tool.common.config;

import io.swagger.v3.oas.models.OpenAPI;
import org.springdoc.core.customizers.GlobalOpenApiCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author cmd
 */
@Configuration
public class SwaggerConfiguration {


    @Bean

    public GlobalOpenApiCustomizer orderGlobalOpenApiCustomizer() {

        return openApi -> {
        };
    }


    @Bean

    public OpenAPI openApi() {
        return new OpenAPI().info(new io.swagger.v3.oas.models.info.Info()
                .description("对接dify平台的mcp服务")
                .version("v1.0.0")
                .title("mcp"));
    }

}
